#include "HybridWidget.h"
#include <QApplication>
#include <QFrame>

int main(int argc, char *argv[]){
    QApplication app(argc, argv);

    QFrame* mainFrame = new QFrame;
    mainFrame->setWindowTitle("TheGame");
    mainFrame->setFixedSize(900, 580);
    mainFrame->show();

    HybridWidget* mainWidget = new HybridWidget(mainFrame);
    mainWidget->show();

    QObject::connect(mainWidget, SIGNAL(closed()), &app, SLOT(closeAllWindows()));

    return app.exec();
}
